﻿using System;

namespace FirstFloor.Reversi
{
    /// <summary>
    /// Represents a location
    /// </summary>
    public class Location
    {
        private int x;
        private int y;

        /// <summary>
        /// Initializes a new instance of the <see cref="Location"/> class.
        /// </summary>
        /// <param name="color">The color.</param>
        public Location(int x, int y)
        {
            this.x = x;
            this.y = y;
        }

        /// <summary>
        /// Gets the X.
        /// </summary>
        /// <value>The X.</value>
        public int X
        {
            get { return this.x; }
        }

        /// <summary>
        /// Gets the Y.
        /// </summary>
        /// <value>The Y.</value>
        public int Y
        {
            get { return this.y; }
        }
    }
}
